<template>
<view class="d-forms">
  <slot></slot>
</view>
</template>

<script setup lang="ts">
defineOptions({ name: 'DForms' })

provide('labelWidth', () => props.labelWidth)

provide('disabled', () => props.disabled)

const props = defineProps({
  labelWidth: {
    type: String,
    default: '150rpx'
  },
  disabled: {
    type: Boolean,
    default: false
  }
})
</script>

<style scoped lang="scss">

</style>
